/*
 * Created on 6 Oct 2006
 *
 * Author: Klarinda
 * Organize all of the constants into one file
 */
package dbsucxentW.constantW;

public class Constant {
    //for shredding (bulk load)

    //klarinda 20070525 add TEXTCONTENT & ATTRCONTENT
    public final static int NO_OF_TABLES = 7;//5;	//attribute, pathvalue, docrvalue, doc, path, textcontent,attrcontent
    public final static int DOCUMENT_TABLE = 0;
    public final static int DOCRVALUE_TABLE = 1;
    public final static int PATH_TABLE = 2;
    public final static int PATHVALUE_TABLE = 3;
    public final static int ATTRIBUTE_TABLE = 4;
    public final static int TEXTCONTENT_TABLE = 5;
    public final static int ATTRCONTENT_TABLE = 6;
    public final static int LARGETEXTDATA = 256;	//text data >= 256 bytes is stored in TEXTCONTENT table

    //public final static String BULKFILEPATH = "D:/sucxent/sucxent/bulk/Sucxent/";
    // public final static String BULKFILEPATH = "C:/Klarinda/sucxent/bulk/Sucxent/";	//20060907 for experiments --> commented by erwin 2007-07-04
    public static String BULKFILEPATH = "C:/Klarinda/sucxent/bulk/Sucxent/";	//2007-07-04 by erwin
    public final static String[] TABLE_NAMES = {
        "Document",
        "DocumentRValue",
        "Path",
        "PathValue",
        "Attribute",
        "TextContent",
        "AttrContent"
    }; //klarinda 20070525 add TEXTCONTENT & ATTRCONTENT

    //for translation
    public final static int UNKNOWNAXIS = -1;
    public final static int CHILD = 0,  FOLLOWING = 1,  PRECEDING = 2,  FOLLOWING_SIBLING = 3,  PRECEDING_SIBLING = 4;
    public final static int ATTRIBUTE = 5,  PARENT = 6,  SELF = 7;
    public final static int ANCESTOR = 8,  ANCESTOR_OR_SELF = 9,  DESCENDANT = 10,  DESCENDANT_OR_SELF = 11;
}
